package cn.edu.scau.cmi.lixiaoyuan.mybatis.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import cn.edu.scau.cmi.lixiaoyuan.mybatis.entity.Student;



public interface StudentMapper  {
	
     public Student findStudentByStuName(@Param("stuName") String stuName);
     
     public Student findStudentByStuId(@Param("stuId") Long stuId);
     
     public Student findStudentByStuNuber(@Param("stuNumber") Long stuNumber);
     
     public Student findStudentByTutor(@Param("tutor") Long tutor);
     
     public Student deleteStudentById(@Param("stuId") Long stuId);
     
     public Student findStudentByProperty(@Param("sql") String sql);
     
     public Student updateStudent(@Param("sql") String sql); 
     
}
